package com.buercorp.wangyu.common;

public class Huiwe {
    public static void main(String[] args) {
        // 12345 54321
        int num = 12345;
        int tymp = num;
        int x = 0;
        while (num != 0) {
            int ge = num % 10;
            num = num / 10;
            System.out.println(num);
            x = x * 10 + ge;
        }
        System.out.println(x);
    }
}
